package com.best.oasis.settlement.common.vo.security
{
	import com.best.oasis.settlement.common.enum.security.RoleType;
	import com.best.oasis.settlement.common.vo.base.BaseVO;

	[Bindable]
	[RemoteClass(alias="com.best.oasis.settlement.common.vo.security.RoleVO")]
	public class RoleVO extends BaseVO 
	{	
		/**
		 * 角色名 
		 */			
		public var name:String;
		/**
		 * 角色描述
		 */	
		public var description:String;
		/**
		 * 父节点ID
		 */	
		public var parent:Number;

		/**
		 * 数据权限：字段值
		 */
		public var fieldValue:String;
		
		/**
		 * 数据权限：字段名 
		 */
		public var field:String;
		
		/**
		 * 数据权限：对应的实体 
		 */
		public var entity:String;
		public var sortIndex:int;
		/**
		 * 类型 
		 */
		public var roleType:String = RoleType.FUNCTION;
		
		public function toString():String{
			return name;
		}
		public function RoleVO()
		{
		}
		
	}
}